package com.colorful.insuranceproject.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by handsome-Bob on 2017/7/17.
 * <p>
 * 支付宝的参数
 */
public class AliPayBean implements Parcelable {

    private String signResult;

    public AliPayBean() {
    }

    public AliPayBean(String signResult) {
        this.signResult = signResult;
    }

    public String getSignResult() {
        return signResult;
    }

    public void setSignResult(String signResult) {
        this.signResult = signResult;
    }

    @Override
    public String toString() {
        return "AliPayBean{" +
                "signResult='" + signResult + '\'' +
                '}';
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.signResult);
    }

    protected AliPayBean(Parcel in) {
        this.signResult = in.readString();
    }

    public static final Creator<AliPayBean> CREATOR = new Creator<AliPayBean>() {
        @Override
        public AliPayBean createFromParcel(Parcel source) {
            return new AliPayBean(source);
        }

        @Override
        public AliPayBean[] newArray(int size) {
            return new AliPayBean[size];
        }
    };
}
